package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.CarClient;
import org.example.dto.CarClientDto;

import java.util.List;

/**
 * @author : Guosir
 * @date : 2024-06-29 09:39
 * @description :
 **/
@Mapper
public interface CarClientMapper {


    CarClient getOne(String clientName);

    CarClient selectByClientId(Integer clientId);

    void updatePlan(Integer clientId);


    List<CarClient> carClientList(CarClientDto carClientDto);

    List<CarClient> list();

    void insert(List<CarClient> cacheList);

    void saveClient(CarClient carClient);

    void del(Integer clientId);
}
